﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DangNhap.ascx.cs" Inherits="Control_DangNhap" %>
<style type="text/css">
    .style1
    {
        width: 200px;
    }
    .style2
    {
        width: 100%;
    }
</style>

<table align="center" border="2px" class="style1">
    <tr>
        <td align="center" bgcolor="#0000CC">
            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" 
                ForeColor="White" Text="Đăng Nhập "></asp:Label>
        </td>
    </tr>
    <tr>
    // xu ly ham dang nhap 
        <td>
            <asp:Panel ID="Panel1" runat="server">
                <table align="center" cellpadding="2" class="style2">
                    <tr>
                        <td width="80px">
                            Đăng Nhập:
                        </td>
                        <td width="120px">
                            <asp:TextBox ID="txtTenDN" runat="server" Width="120px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="80px">
                            Mật Khẩu:
                        </td>
                        <td width="120px">
                            <asp:TextBox ID="txtMatKhau" runat="server" TextMode="Password" Width="120px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="80px">
                            <asp:Button ID="btnDN" runat="server" Text="Đăng Nhập " 
                            onclick="btnDN_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="80px">
                            <asp:HyperLink ID="hbDangKi" runat="server" 
                            NavigateUrl="~/GiaoDien/DangKi.aspx">Đăng Kí Thành Viên </asp:HyperLink>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="width: 200px" width="80px">
                            <asp:Label ID="Label3" runat="server" ForeColor="#CC0000" Text="Label"></asp:Label>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel ID="Panel2" runat="server">
                Chào Bạn&nbsp;
                <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                <br />
                <table class="style2">
                    <tr>
                        <td align="center">
                            <asp:Button ID="btnThoat" runat="server" onclick="btnThoat_Click" 
                                Text="Thoát " />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <br />
        </td>
    </tr>
</table>

